
package com.hlkj.pay.infrastructure.model.user;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 用户信息
 * 
 * @TableName t_user
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_user")
public class UserDO extends BaseDO {

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 类型 1 话费用户
     * @see com.hlkj.pay.enums.UserEnum.USER_TYPE
     */
    @Schema(description = "类型 1 话费用户")
    private Integer type;

    /**
     * 手机号
     */
    @Schema(description = "手机号")
    private String phone;
    /**
     * 手机号
     * @see com.hlkj.pay.enums.UserEnum.USER_STATUS
     */
    @Schema(description = "状态 1 启用 0 禁用")
    private Integer status;

}
